import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
const projectsManagement: AppRouteModule = {
  path: '/projectsManagement',
  name: 'ProjectsManagement',
  component: LAYOUT,
  redirect: '/projectsManagement/project',
  meta: {
    orderNo: 15,
    icon: 'ic:round-person-search',
    title: '项目管理',
  },
  children: [
    {
      path: 'project',
      name: 'ProjectPage',
      component: () => import('/@/views/backs/projectsManagement/project/index.vue'),
      meta: {
        // affix: true,
        title: '项目',
      },
    },
    {
      path: 'userProject',
      name: 'UserProjectPage',
      component: () => import('/@/views/backs/projectsManagement/associatProject/index.vue'),
      meta: {
        // affix: true,
        title: '关联项目',
      },
    },
    {
      path: 'fundTransfer',
      name: 'fundTransferPage',
      component: () => import('/@/views/backs/projectsManagement/fundTransfer/index.vue'),
      meta: {
        // affix: true,
        title: '资金划拨',
      },
    },
    {
      path: 'budgetCapital',
      name: 'budgetCapitalPage',
      component: () => import('/@/views/backs/projectsManagement/budgetCapital/index.vue'),
      meta: {
        // affix: true,
        title: '资金预算',
      },
    },
  ],
};

export default projectsManagement;
